/*********************\
* Author:Dzlua
* QQ:505544956
* Time:2017/04/16
\**********************/
#ifndef __LUA_MENU_H__
#define __LUA_MENU_H__
#pragma once

#include "../List/LuaList.h"

namespace DuiLib {

class LuaMenu : public LuaList
{
    SDLUA_CLASS_DECLARE(LuaMenu);

    int Add(LuaState *L);
    int AddAt(LuaState *L);

    int GetItemIndex(LuaState *L);
    int SetItemIndex(LuaState *L);
    int Remove(LuaState *L);

	int EstimateSize(LuaState *L);
};

}

#endif //__LUA_MENU_H__